package proyecto0.src;

import java.util.Map.Entry;

public class Entrada<K, V> implements Entry<K, V> {

	private K key;
	private V v;

	public Entrada(K clave, V valor) {
		key = clave;
		v = valor;
	}

	public K getKey() {
		return key;
	}

	public V getValue() {
		return v;
	}

	public V setValue(V value) {
		V valor = v;
		v = value;
		return valor;
	}

}
